The reason for the Invoice line allowance, expressed as text.
請求書明細行の返金理由をテキストで表現。


About

Syntax binding
ubl:Invoice / cac:InvoiceLine / cac:AllowanceCharge / cbc:AllowanceChargeReason
Restricted Syntax Cardinality
0..1
Example
Discount
UBL 2.1
XPath
/ Invoice / cac:InvoiceLine / cac:AllowanceCharge [ cbc:ChargeIndicator = false() ] / cbc:AllowanceChargeReason
Occurrence
0..n
Datatype
TextType
UBL Definition
The reason for this allowance or charge.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Invoice line allowance reason

請求書明細行の返金理由
ID
ibt-139
Description
The reason for the Invoice line allowance, expressed as text.
請求書明細行の返金理由をテキストで表現。
Aligned Cardinality
0..1
Semantic datatype
Text

VERSION 1.0 RULE

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULE
JP PINT 0.9.3 Shared rule
ibr-042(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULE
JP PINT 0.9.2 Shared rule
ibr-042(fatal)
Still valid
[ibr-042]-Each Invoice line allowance (ibg-27) MUST have an Invoice line allowance reason (ibt-139) or an Invoice line allowance reason code (ibt-140).
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
//cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

VERSION 0.9.1 RULE
Obsoleted
Shared rule (0.9.1)
ibr-042 (fatal)
[ibr-042]-Each Invoice line allowance (ibg-27) MUST have an Invoice line allowance reason (ibt-139) or an Invoice line allowance reason code (ibt-140).
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
//cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

JP PINT 0.9 RULES
Obsoleted
Shared Rules (0.9)
ibr-42(fatal)
[ibr-42]-Each Invoice line allowance (ibg-27) shall have an Invoice line allowance reason (ibt-139) or an Invoice line allowance reason code (ibt-140).
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

PEPPOL BIS BILLING 3.0 RULES
EN16931 model bound to UBL rules
BR-42 (fatal)
Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
//cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)
BR-CO-07 (fatal)
Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason.
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
//cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
true()
BR-CO-23 (fatal)
Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
//cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)